﻿
namespace Renci.Data.Interop.OpenGIS.Gml_32
{
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.3038")]
    [System.SerializableAttribute()]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.opengis.net/gml/3.2")]
    [System.Xml.Serialization.XmlRootAttribute("geometryMembers", Namespace = "http://www.opengis.net/gml/3.2", IsNullable = false)]
    public class GeometryArrayPropertyType : IOwnershipAttributeGroup
    {
        /// <summary>
        /// Initializes a new instance of the <see cref="GeometryArrayPropertyType"/> class.
        /// </summary>
        public GeometryArrayPropertyType()
        {
            this.Owns = false;
        }

        private System.Collections.ObjectModel.Collection<AbstractGeometryType> _abstractGeometry = new System.Collections.ObjectModel.Collection<AbstractGeometryType>();
        /// <remarks/>
        //[System.Xml.Serialization.XmlElementAttribute("AbstractGeometry")]
        //[System.Xml.Serialization.XmlElementAttribute("AbstractGeometricAggregate", Type = typeof(AbstractGeometricAggregateType))]
        [System.Xml.Serialization.XmlElementAttribute("MultiGeometry", Type = typeof(MultiGeometryType))]
        [System.Xml.Serialization.XmlElementAttribute("MultiPoint", Type = typeof(MultiPointType))]
        [System.Xml.Serialization.XmlElementAttribute("MultiCurve", Type = typeof(MultiCurveType))]
        [System.Xml.Serialization.XmlElementAttribute("MultiSurface", Type = typeof(MultiSurfaceType))]
        [System.Xml.Serialization.XmlElementAttribute("MultiSolid", Type = typeof(MultiSolidType))]
        //[System.Xml.Serialization.XmlElementAttribute("AbstractGeometricPrimitive", Type = typeof(AbstractGeometricPrimitiveType))]
        [System.Xml.Serialization.XmlElementAttribute("Point", Type = typeof(PointType))]
        //[System.Xml.Serialization.XmlElementAttribute("AbstractCurve", Type = typeof(AbstractCurveType))]
        [System.Xml.Serialization.XmlElementAttribute("LineString", Type = typeof(LineStringType))]
        [System.Xml.Serialization.XmlElementAttribute("CompositeCurve", Type = typeof(CompositeCurveType))]
        [System.Xml.Serialization.XmlElementAttribute("Curve", Type = typeof(CurveType))]
        [System.Xml.Serialization.XmlElementAttribute("OrientableCurve", Type = typeof(OrientableCurveType))]
        //[System.Xml.Serialization.XmlElementAttribute("AbstractSurface", Type = typeof(AbstractSurfaceType))]
        [System.Xml.Serialization.XmlElementAttribute("Polygon", Type = typeof(PolygonType))]
        [System.Xml.Serialization.XmlElementAttribute("CompositeSurface", Type = typeof(CompositeSurfaceType))]
        [System.Xml.Serialization.XmlElementAttribute("Surface", Type = typeof(SurfaceType))]
        [System.Xml.Serialization.XmlElementAttribute("OrientableSurface", Type = typeof(OrientableSurfaceType))]
        //[System.Xml.Serialization.XmlElementAttribute("AbstractSolid", Type = typeof(AbstractSolidType))]
        [System.Xml.Serialization.XmlElementAttribute("CompositeSolid", Type = typeof(CompositeSolidType))]
        [System.Xml.Serialization.XmlElementAttribute("Solid", Type = typeof(SolidType))]
        [System.Xml.Serialization.XmlElementAttribute("GeometricComplex", Type = typeof(GeometricComplexType))]
        //[System.Xml.Serialization.XmlElementAttribute("AbstractImplicitGeometry", Type = typeof(AbstractGeometryType))]
        [System.Xml.Serialization.XmlElementAttribute("Grid", Type = typeof(GridType))]
        public System.Collections.ObjectModel.Collection<AbstractGeometryType> Geometry { get { return this._abstractGeometry; } }

        #region IOwnershipAttributeGroup Members

        /// <remarks/>
        [System.Xml.Serialization.XmlAttributeAttribute("owns", Namespace = "http://www.opengis.net/gml/3.2")]
        [System.ComponentModel.DefaultValueAttribute(false)]
        public bool Owns { get; set; }

        #endregion
    }
}
